//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H2><A NAME="_browser_capabilities"></A><SUP> <% If Request("DontFrame")<>1 Then Response.Redirect "/iissamples/sdk/asp/docs/SampFram.asp?ovfile=/iishelp/iis/htm/asp/asps0zlf.asp&srcfile=Components/BrowserCap" %></SUP>Browser Capabilities</H2>
<H6>Overview</H6>
<P>Not all browsers have the same capabilities. To make the task of accounting for differences easier, ASP provides the Browser Capabilities component. This component provides your scripts with a description of the capabilities of the client browser by use of the <B>BrowserType</B> object.</P>
<H6>Code Tour</H6>
<P>First, an instance of the <B>BrowserType</B> object must be created and assigned to an object variable, <I>bc</I>. Then, each property is requested, in turn, from the object by using the <I>object.property</I> syntax. Run the example, and see what your browser can do.</P>
<P>If you are using Internet Explorer version 5.0 or later, the list of capabilities you will see include those capabilities that are determined using the new client capabilities cookies, described in <A HREF="/iishelp/iis/htm/asp/eadg6isz.htm">Client Capabilities</A>.</P>